import React, { Component } from 'react'
import { BrowserRouter } from "react-router-dom";

// 引入路由配置表和路由页面 
import RouterView from './router/RouterView';
import routerConfig from "./router/routerConfig"


export class App extends Component {
  render() {
    return (
      <BrowserRouter>
          <RouterView routerConfig={ routerConfig }></RouterView>
      </BrowserRouter>
    )
  }
}

export default App